`define branch_none 3'b000
`define branch_BEQ 3'b001
`define branch_BGEZ 3'b010
module Branch_judge(
        input [31:0] a,
        input [31:0] b,
        input [2:0] branch,
        output branch_result
    );
    assign branch_result=(branch==`branch_BEQ&&a==b)|(branch==`branch_BGEZ&&($signed(a))>=0);
endmodule
